<?php
	class xmlResponse 
	{ 
		function start() 
		{ 
			@header('Content-Type: text/xml'); 
			echo '<?xml version="1.0" encoding="UTF-8" >' . "\n"; 
			echo "<Suggestions>\n";
		} 
		function command($params=array()) 
		{ 
			if($params) 
			{ 
				foreach($params as $val) 
				echo " <Suggestion>$val</Suggestion>\n"; 
			} 
		} 
		function end() 
		{ 
			echo "</Suggestions>\n"; 
			exit; 
		} 
	}
?>